#include <iostream>

using namespace std;

#include "Timeout.h"
#include "Event.h"

Timeout::Timeout() : Event()
{
//placeholder
}

Timeout::Timeout(string type, Time t) :Event (type, t)
{
//placeholder
}


bool Timeout::assignValues()
{
bool checkInput=true;
m_eventType="TO";
cin>>m_eventTime;
cin>>m_team;
m_eventTime.reverseTime();
	if((m_team!='H')&&(m_team!='h')&&(m_team!='A')&&(m_team!='a'))
	{
	checkInput=false;
	}
	if (m_eventTime.checkTimeInput()==false)
	{
	checkInput=false;
	}	
}
